package com.yonyou.brigade.third_parties.ystrip.service;

import com.alibaba.fastjson.JSONObject;
import com.yonyou.brigade.third_parties.ystrip.model.YStripSyncOrderParam;
import com.yonyou.brigade.third_parties.ystrip.model.YStripUser;

import java.util.List;

public interface IYStripPublicService {

    public String insertUser(List<YStripUser> yStripUsers);

    public String editUser(JSONObject userInfoJSON);

    public String deleleUser();

    public String queryUser();

    public String ssoLogin(String jumpType, YStripUser yStripUser);

    /**
     * 同步订单
     * @param yStripSyncOrderParam
     * @return
     */
    public String syncOrders(YStripSyncOrderParam yStripSyncOrderParam, int channelId,String tenant);
}
